package com.iona.domain;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

@Entity
public class DisciplinePurview extends BaseEntity {

	@ManyToOne
	@JoinColumn(name = "purview_fk", nullable = false)
	private Purview purview;

	@ManyToOne
	@JoinColumn(name = "discipline_fk", nullable = false)
	private Discipline discipline;

	public Purview getPurview() {
		return purview;
	}

	public void setPurview(Purview purview) {
		this.purview = purview;
	}

	public Discipline getDiscipline() {
		return discipline;
	}

	public void setDiscipline(Discipline subject) {
		this.discipline = subject;
	}

}
